import type { RouteRecordRaw } from 'vue-router'

function Layout() {
  return import('@/layouts/index.vue')
}

const routes: RouteRecordRaw = {
  path: '/freetrialconfig',
  component: Layout,
  redirect: '/freetrialconfig/index',
  name: 'freetrialconfig',
  meta: {
    title: '推荐官配置',
    icon: 'eos-icons:configuration-file-outlined',
  },
  children: [
    {
      path: 'index',
      name: 'freetrialconfigIndex',
      component: () => import('@/views/freetrialconfig/index.vue'),
      meta: {
        title: '推荐官配置',
        auth: ['permission.browse'],
        menu: false,
        activeMenu: '/freetrialconfig',
      },
    },
  ],
}

export default routes
